using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace TEST
{
    public class Test_CommandSystem : MonoBehaviour
    {
        // Start is called before the first frame update
        void Start()
        {
            StartCoroutine(startProcess());
        }

        IEnumerator  startProcess()
        {
            CMD.CommandSystem cs = CMD.CommandSystem.instance;
            yield return cs.Execute("print");
            yield return cs.Execute("print_1p", "hello world");
            yield return cs.Execute("print_mp", "line1", "line2");
            yield return cs.Execute("lambda");
            yield return cs.Execute("lambda_1p", "hello world lambda");
            yield return cs.Execute("lambda_mp", "line1_lambda", "line2_lambda");
            yield return cs.Execute("coroutine");
            yield return cs.Execute("coroutine_1p","hello world coroutine");
            yield return cs.Execute("coroutine_mp","co1","co2","co3");
        }
    }
}
